#-------------------------------------------------
#
# Project created by 华磊
#
#-------------------------------------------------
DEFINES  += D_USE_AMCL_ADVANCE

QT += xml

TARGET = VehicleControl
TEMPLATE = lib
CONFIG += staticlib
DEFINES += VEHICLECONTROL_LIBRARY

HEADERS += \
    magnetictrack.h \
    vehiclekinematics.h \
    vehiclejogcontrol.h \
    ../../include/vehicle/vehicledefine.h \
    virtuallinecontrol.h \
    vehiclepositionmanage.h \
    lasersafetydetect.h \
    virtuallinebias.h \
    vehiclevelocitysmoother.h

SOURCES += \
    magnetictrack.cpp \
    vehiclekinematics.cpp \
    vehiclejogcontrol.cpp \
    virtuallinecontrol.cpp \
    vehiclepositionmanage.cpp \
    lasersafetydetect.cpp \
    virtuallinebias.cpp \
    vehiclevelocitysmoother.cpp


INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH +=../AxisObject
INCLUDEPATH +=../MotionServer
INCLUDEPATH +=../DomParser
INCLUDEPATH +=../ImuDevice
INCLUDEPATH += ../../include/vehicle
INCLUDEPATH += ../../include/
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += /usr/local/include/kdl
INCLUDEPATH += ../../include/actions/INC
INCLUDEPATH += ../../include/actions/INC/Linux
INCLUDEPATH += ../../include/ethercat-igh
#INCLUDEPATH += ../../include/alLib
#INCLUDEPATH += ../../include/alLib/Eigen
#DEPENDPATH += ../../include/alLib/Eigen
#INCLUDEPATH += ../../include/alLib/gsl
#DEPENDPATH += ../../include/alLib/gsl
#INCLUDEPATH += ../../include/alLib
#DEPENDPATH += ../../include/alLib
INCLUDEPATH +=/usr/include/eigen3
INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH +=../CoordinateModule
INCLUDEPATH +=../MotionServer
#INCLUDEPATH +=../RosClient
INCLUDEPATH +=../PointData
INCLUDEPATH +=../RegData
INCLUDEPATH +=../EcatCore
INCLUDEPATH +=../VrepRemoteControlor
INCLUDEPATH +=../MessageLog
INCLUDEPATH +=../Md5Check
INCLUDEPATH +=../RosApi
INCLUDEPATH +=../AxisObject
INCLUDEPATH +=../UltrasonicSensor
INCLUDEPATH +=../PidRegulator

INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD



#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =/agvwork/AgvFundation/fundation/lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =/agvwork/AgvFundation/fundation/lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =/agvwork/AgvFundation/fundation/lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}

